package com.dhcc.DRGsHosp.infra.util;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

import org.elasticsearch.client.transport.TransportClient;

/**
 * @title		:GlobalData.java
 * @description	:
 * @author		:lileizheng
 * @date		:2015年5月25日
 * @version     :1.0
 * @copyright   :DHCC 2013-2014 
 */
public class GlobalData {

	public static Map<String, Object> cookie = new ConcurrentHashMap<String, Object>();
	
	public static String keyDRGs = "";
	
	public static int CONFIG_STD_YEAR = 0; //标杆年份配置选项
	
	public static int CONFIG_MANAGE_YEAR = 0; //绩效年份配置选项
	
	public static int CONFIG_MONITOR_YEAR = 0; //年度配置参数
	
	public static String max_Group_Year=null; //获取当前系统分组数据的最大年份
	
	public static float percent = 0;//进度完成百分比
	public static String fileInfo="";//正在处理文件的信息
	public static String saveInfo="";//保存信息
	public static String dataInfo="";//处理数据信息
	public static String errorInfo="";//错误信息
	public static String stateInfo="";//状态信息 error-错误  done-完成一个  finish-结束
	
	public static Map<String,String> sysConfig= new HashMap<>() ;//系统配置集合
	public static Map<String, List<Map<String, Object>>> sysDictionary= new HashMap<>() ;//系统字典集合
	public static String[] colors = {"#f07043","#50a1d4","#7bd9a5", "#d0648a", "#f58db2","#f2b3c9","#DC143C","#2EC7C9","#FFCC99","#FFFF99","#99CC99","#FFCC99","#CCFF99","#CCCCCC","#FFCC99","#FFFFCC","#99CCFF","#FF9900"};//系统配色
	
	public static Map<String,String> stdQuotaInfo=new HashMap<>();//标杆比反推指标映射信息
	
	public static Map<String,String> caseLinkCondition=new HashMap<>();//病例明细配置信息
	
	public static TransportClient transportClient;//ES服务
	
	public static String licenseCode="";
	
	public static String hospName="";
}
